package com.weiyun.notebook.Entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
import java.io.Serializable

@Entity

data class Note(

    @PrimaryKey(autoGenerate = true)
    var id: Int= 0,
    @ColumnInfo(name = "title")
    var title: String? ,
    @ColumnInfo(name = "createTime")
    var createTime: String? ,
    @ColumnInfo(name = "content")
    var content: String?
):Serializable
